      
FXConstraint    C:\Users\KatachiHome\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\plugins\DPIT Plants & Effex 2.0\res\help\EN\Effex\fx_api_classes_nodes_fxconstraint.html   P       4                                                                                                                                                                                                                   =   default.tif                  Object Header    A constraint is a delegate node called by other operational nodes. <br>
It does not do anything on its own per se but is always triggered by another node.
<br></br>          &[code]bool IsInverted    (void) const    T<b>Returns</b><br>
true if the user has set the "inverted" option in the interface
                   -[code]bool IsParticleConstraint (void) const    b<b>Returns</b><br>
true if this is a particle constraint. Otherwise it is a pure grid constraint.                   f[code]bool GetConstraint (const vector3d& position, double& src_value, void* local_data, int cpu = 0)   `<b>Returns</b><br>
true if the constraint value could be retrieved and if that value is != 0.0. false if there was an error or if the sampled value is 0.0.
<br></br>
<b>Parameters</b><BR>
<i>const vector3d& position</i>: <br>
The physical positon to sample
<br></br>
<i>double& src_value</i>: <br>
Filled with the constraint value. This could be the result of several constraints so may not strictly be the explicit constraint value.
<br></br>
<i>void* local_data</i>: <br>
Currently unused
<br></br>
<i>int cpu</i>: <br>
The current cpu thread. Pass if you are working in a multithreaded context.
<br></br>                   [code]bool GetConstraintParticle (const vector3d& position, double& src_value, void* local_data, int cpu = 0, const void* t_particle = NULL)   <b>Returns</b><br>
true if the constraint value could be retrieved and if that value is != 0.0. false if there was an error or if the sampled value is 0.0.
<br></br>
<b>Parameters</b><BR>
<i>const vector3d& position</i>: <br>
The physical positon to sample
<br></br>
<i>double& src_value</i>: <br>
Filled with the constraint value. This could be the result of several constraints so may not strictly be the explicit constraint value.
<br></br>
<i>void* local_data</i>: <br>
Currently unused
<br></br>
<i>int cpu</i>: <br>
The current cpu thread. Pass if you are working in a multithreaded context.
<br></br>
<i>const void* t_particle</i>: <br>
Pass the FXParticle this constraint should take into account. Only used for particle constraints (mandatory)!
<br></br>                                  